package org.smartercontext.contextmger.json.writer;

import java.util.*;;

/**
 * 
 * @author JuanPablo
 * @version 1.0
 * @creation_date 09 Mar 2014
 * Public interface for write Objects in JSON format
 *
 */
public interface IJSONWriter {

	/**
	 * 
	 * @param latitude
	 * @param longitude
	 * @param user
	 * @return String
	 * This method allows build a JSON format based in the user's latitude and longitude
	 */
	public String writeLocation(String latitude, String longitude, String user);
	
	/**
	 * 
	 * @param wishes
	 * @param productsSeen
	 * @param purchased
	 * @param user
	 * @return String
	 * This method allows build a JSON format based in the user's buying preferences.
	 */
    public String writeBuyerPreferences(List<String> wishes, List<String>productsSeen,
            List<String>purchased, String user);
    
    /**
     * 
     * @param userName
     * @param password
     * @return String
     * This method allows build a JSON format based in the user's credentials for
     * SmarterContext
     */
    public String writeLogin(String userName,String password);
}
